Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
added wasm bindings to spackle commands to recreate
spackle::Project::generate()done in typescript in the aggregate (insert moneyball gif here). now includes actual hook execution viaBun.spawnas wellWASM.mdcontains a claude-generated rundown of all the changes. but generally:wasm-bindgen(10 exports, all JSON-in/JSON-out)poc/restructured intosrc/wasm/(pure compute, no I/O) +src/host/(fs + Bun.spawn) +src/spackle.ts(orchestration). each file headered with which side of the line it's oncd poc && bun testruns 36 tests across wasm contract, host helpers, and e2e scenarios (generate + hook exec against real fixtures)Project::generatesemantics by default: errors if outDir exists (opt-inoverwrite: true), fail-fast on first template render error (opt-inallowTemplateErrors: true), copy-then-render order so templates win on path collisionsweb/nodejs/bundler) as a github release asset, installable viabun add <release-url>. ci builds all 3 targets + runtime-import smoke-tests the nodejs target so broken bindings surface on every pr--features wasm, 39 without)run
just pocto get poc output:run
just test-pocto build wasm + run the bun test suite: